package edu.mit.media.fv.events
{
	import edu.mit.media.fv.blocks.Block;
	import edu.mit.media.fv.blocks.BlockContainer;
	import edu.mit.media.fv.layers.Handle;
	
	import flash.events.Event;
	
	public class BlockEvent extends Event
	{
		public static const BLOCK_DRAGGED:String = "fvBlockDragged";
		public static const BLOCK_DROPPED:String = "fvBlockDropped";
		public static const HANDLE_DRAGGED:String = "fvHandleDragged";
		public static const HANDLE_DROPPED:String = "fvHandleDropped";
		public static const CONTAINER_ADDED:String = "fvContainerAdded";
		
		public var block:Block;
		public var blockContainer:BlockContainer;
		public var handle:Handle;
		public function BlockEvent(type:String, block:Block, blockContainer:BlockContainer)
		{
			super(type);
			this.block = block;
			this.blockContainer = blockContainer;
		}

	}
}